package com.itqf.service;

import com.itqf.entity.Car;

import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

public interface CarService {
    void createCar(int userno, String gid) throws SQLException, InvocationTargetException, IllegalAccessException;

    List<Car> findAll(int userno) throws IllegalAccessException, SQLException, InvocationTargetException;

    void deleteCarByCid(String cid) throws SQLException;

    void updateCarByCid(String cid, String gprice, String number) throws SQLException;

    void clearCar(String userno) throws SQLException;
}
